<?php

/**
 * Class LoginsController
 */
class LoginsController extends AppController {

	public function beforeFilter() {
		parent::beforeFilter();
		$this->layout = 'login';
		$this->viewPath = 'Common';
	}

	public function login() {
		$this->view = 'login';
	}

	public function logout() {
		$this->redirect('/logins/logout');
	}
}